import React, {Component} from 'react';
import {base, high} from 'nc-lightapp-front';
import BatchEditComp from "../BatchEditComp";

class Dimission extends BatchEditComp {
    constructor(props) {
        super(props);
        this.state = {};
        this.config = [
            {
                key: 'pk_psncl',
                name: this.props.json['hi6007-000065'],/* 国际化处理： 人员类别*/
                type: 'refer',
                refConfig: {
                    refType: 'tree',
                    refCode: 'uapbd.refer.psninfo.PsnclTreeRef',
                    queryTreeUrl: '/nccloud/uapbd/ref/PsnclTreeRef.do'
                }
            },
            {
                key: 'trnsreason',
                name: this.props.json['hi6007-000122'],/* 国际化处理： 异动原因*/
                type: 'refer',
                refConfig: {
                    refType: 'tree',
                    refCode: 'uapbd.refer.userdef.DefdocTreeRef',
                    queryTreeUrl: '/nccloud/uapbd/userdef/DefdocTreeRef.do',
                    queryCondition: {pk_defdoclist: '1001Z71000000000GPD1'}
                }
            },
            {
                key: 'memo',
                name: this.props.json['hi6007-000106'],/* 国际化处理： 备注*/
                type: 'textarea'
            }
        ];
        this.fieldKeys = this.config.map(item => item.key);
    }
}

export default Dimission;
